﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AppCode/MasterPages/Admin.master" AutoEventWireup="true" CodeFile="DeleteEmployee.aspx.cs" Inherits="AppCode_Admin_DeleteEmployee" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></asp:ToolkitScriptManager>
    <div>
        <div style="width:700px;margin:0 auto;margin-left:300px;">
            <p style="margin-left:25px; font-size:19px;margin-top:40px; font-weight:bold;margin-bottom:20px;">Delete Employee With Details </p>
            <table style="border-spacing:30px 10px">
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label1" runat="server" Text="Designation"></asp:Label></td>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtDesignation" runat="server" Width="175px" Enabled="False"></asp:TextBox></td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label3" runat="server" Text="Join Date"></asp:Label></td>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtJoinDate" runat="server" Width="175px" Enabled="False"></asp:TextBox>
                        <asp:CalendarExtender ID="txtJoinDate_CalendarExtender" runat="server" TargetControlID="txtJoinDate">
                        </asp:CalendarExtender>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label5" runat="server" Text="Salary"></asp:Label></td>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtSalary" runat="server" Width="175px" Enabled="False"></asp:TextBox></td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label7" runat="server" Text="FirstName"></asp:Label></td>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtFirstName" runat="server" Width="175px" Enabled="False"></asp:TextBox></td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label9" runat="server" Text="LastName"></asp:Label></td>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtLastName" runat="server" Width="175px" Enabled="False"></asp:TextBox></td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label11" runat="server" Text="UserName"></asp:Label></td>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtUserName" runat="server" Width="175px" Enabled="False"></asp:TextBox></td>
                    <td>
                        &nbsp;</td>
                </tr>
                
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label15" runat="server" Text="Address"></asp:Label></td>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtAddress" runat="server" Width="175px" Enabled="False"></asp:TextBox></td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label17" runat="server" Text="Contact No"></asp:Label></td>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtContact" runat="server" Width="175px" Enabled="False"></asp:TextBox></td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label19" runat="server" Text="State"></asp:Label></td>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtState" runat="server" Width="175px" Enabled="False"></asp:TextBox></td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label21" runat="server" Text="Country"></asp:Label></td>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtCountry" runat="server" Width="175px" Enabled="False"></asp:TextBox></td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label23" runat="server" Text="City"></asp:Label></td>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtCity" runat="server" Width="175px" Enabled="False"></asp:TextBox></td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Button ID="Button1" runat="server" Text="Delete" Height="30px" Width="80px" OnClick="Button1_Click" /></td>
                    <td class="auto-style1">
                        &nbsp;</td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>

